package com.unytech.project.entity.torrents.baseinfo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.unytech.project.entity.BaseEntity;

/**
 * 历史山洪灾害情况表
 * @author DolphinBoy
 * 记录历史山洪灾害信息
 */
@Entity @Table(name="DisasterRecords")
public class DisasterRecords extends BaseEntity {
	/** 
	 * 行政区代码
	 * 行政区代码，指山洪灾害发生地的行政区代码
	 */
	@Id @Column(name="ADCD", length=6, nullable=false)
	private String disrecordid;
	
	/** 灾害发生时间 */
	@Temporal(TemporalType.TIMESTAMP) 
	@Column(name="HZRDTM", nullable=false)
	private Date disasterdate;
	
	/** 灾情描述 */
	@Column(name="HZRDDESC", length=500, nullable=false)
	private Date disasterdescribe;
}
